import request from '@/utils/request'
const path = "/interface"

export function findFilterList(params) {
    return request({
        url: path + '/filter/',
        method: 'get',
        params
    })
}

export function updateFilter(data) {
    return request({
    url: path + '/filter/updateFilter/',
    method: 'post',
    data
  })
}

export function createFilter(data) {
  return request({
  url: path + '/filter/createFilter/',
  method: 'post',
  data
})
}